<template>
  <!--取消,保存-->
  <div class="dataCollection_container ">
        <div class="basciInfor">
          <slot name="cline-flie-list"></slot>
          <div class="clearfix">
            <Button class="pull-right f-mt20 f-ml10" v-if="cancelStutas" @click="cancelFun">取消</Button>
            <Button type="primary" class="pull-right f-mt20" v-if="saveStutas" @click="saveFun" :loading="loading">保存</Button>
          </div>
        </div>
      </div>
</template>
<script>
export default {
  components: {},
  props: {
    cancelStutas: {
      type: Boolean,
      default: false
    },
    saveStutas: {
      type: Boolean,
      default: true
    },
    isDisabled: {
      type: Boolean,
      default: false
    },
    loading: {
        type: Boolean,
        default: false
    },
  },
  data () {
    return {
      value: ''
    }
  },
  computed: {},
  watch: {},
  methods: {
    cancelFun () {
      this.$emit('cancel-fun')
    },
    saveFun () {
      this.$emit('save-fun')
    }
  },
  created () {},
  mounted () {},
  beforeCreate () {}, // 生命周期 - 创建之前
  beforeMount () {}, // 生命周期 - 挂载之前
  beforeUpdate () {}, // 生命周期 - 更新之前
  updated () {}, // 生命周期 - 更新之后
  beforeDestroy () {}, // 生命周期 - 销毁之前
  destroyed () {}, // 生命周期 - 销毁完成
  activated () {} // 如果页面有keep-alive缓存功能，这个函数会触发
}
</script>
<style lang='scss' scoped>
.dataCollection_container {
  width: 100%;
      min-height: 500px;
  overflow: hidden;
}
</style>
